package com.boge.ai.entity.embedd;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Usage {
    private int prompt_tokens;
    private int total_tokens;

    // Getters and Setters
    public int getPromptTokens() { return prompt_tokens; }
    public void setPromptTokens(int prompt_tokens) { this.prompt_tokens = prompt_tokens; }

    public int getTotalTokens() { return total_tokens; }
    public void setTotalTokens(int total_tokens) { this.total_tokens = total_tokens; }

    @Override
    public String toString() {
        return "Usage{" +
                "prompt_tokens=" + prompt_tokens +
                ", total_tokens=" + total_tokens +
                '}';
    }
}
